package cn.chenc.framework.demo.config;

import cn.chenc.framework.core.component.AbstractJwtTemplate;
import cn.chenc.framework.core.component.RedisJwtTemplate;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 　@description: TODO
 * 　@author secret
 * 　@date 2021/4/28 17:31
 *
 */
@Configuration
public class JwtConfig {

    @Bean
    public AbstractJwtTemplate abstractJwtTemplate(){
        AbstractJwtTemplate redisJwtTemplate = new RedisJwtTemplate();
        return redisJwtTemplate;
    }



}
